package cn.tannn.ip2region.server.init;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;



/**
 * @author tnnn
 * @version V1.0
 * @date 2024/3/26 下午8:53
 */
@Component
@Slf4j
public class CustomConsoleConfig implements CommandLineRunner {

    @Override
    public void run(String... args) throws Exception {
        try {
            log.info("\n----------------------------------------------------------\n\t" +
                    "启动成功！apifox文档地址 : (https://olsuhlzc0h.apifox.cn)\n\t" +
                    "----------------------------------------------------------");
        } catch (Exception ignored) {
        }
    }
}
